package com.shunli.cterminal.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.examples.core.mybatis.base.BaseSafeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @author DaiYaLu
 */
@Data
@TableName("collection_template")
@EqualsAndHashCode(callSuper = true)
public class CollectionTemplate extends BaseSafeEntity {

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 模板名称
     */
    private String templateName;

    /**
     * 商城编码
     */
    private String mallCode;

    /**
     * 封面图
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String coverImg;

    /**
     * 启用状态 0-下架 1-上架
     */
    private String status;

}